<template>  
    <div>  
      <button @click="showNotification">Show Notification</button>  
    </div>  
  </template>  
    
  <script>  
  import { inject } from 'vue';  
  import NotificationPlugin from './plugints/notification-plugin.ts';  
 
  export default {
    setup() {  
      const app = inject('app')
      app.use(NotificationPlugin, { position: 'bottom-left', duration: 5000 });  
    },
    methods: {  
      showNotification() {  
        this.$notify('This is a notification message!');  
      },  
    },  
  };  
  </script>